
<!-- <link href="../lib/select/bootstrap-tagsinput.css" rel="stylesheet">
<script src="../lib/select/bootstrap-tagsinput.js"></script> -->
<div class="button-control">
	<div class="main-content-btnGroup" style="padding-left: 10px;">
	{{# if(d.type == "show"){ }}
		<button class="btn btn-main manage-btn" type="button" onclick="manageChangeEvent();">
			<span>管理</span>
		</button>
	{{# }else{ }}
		<button class="btn btn-main after-manage"  type="button" onclick="saveSelfDiagnose();">
			<span>保存</span>
		</button>
		<button class="btn btn-main after-manage" type="button" onclick="cancelSelfDiagnose();">
			<span>取消</span>
		</button>
		<button class="btn btn-main after-manage" type="button" onclick="addSelfDiagnose();">
			<span>新增</span>
		</button>
	{{# } }}
	</div>
</div>
<div class="main-content-table" style="top: 40px;bottom:0">
	<div class="main-table-container">
		<table class="table table-noborder table-striped table-hover " id="self-diagnose-table">
		<thead>
		{{# if(d.type == "show"){ }}
			 <tr>
			      <td>序号</td>
			      <td>编码</td>
			      <td>名称</td>
			 </tr>
	     {{# }else{ }}
	     	<tr>
			      <td>序号</td>
			      <td>编码</td>
			      <td>名称</td>
			      <td>操作</td>
			 </tr>
	     {{# } }}
		</thead>
		{{# if(d.type == "show"){ }}
			{{# for(var i = 0; i< d.list.length; i++){ }}
				<tr data-bak01 = {{d.list[i].bak01}} >
				    <td style="width:60px">{{d.list[i].rownr}}</td>
					<td style="width:100px">{{d.list[i].bak02?d.list[i].bak02:''}}</td>
					<td class="name_td">{{d.list[i].bak05}}</td>
				</tr>
			{{# } }}
			
		{{# }else{ }}
			{{# for(var i = 0; i< d.list.length; i++){ }}
				<tr>
				    <td style="width:60px"><input type="text"  class ="self-num form-input" value={{d.list[i].rownr?d.list[i].rownr:''}}  /></td>
				    <!-- {{# if(d.list[i].bak01 == -999) { }}
				    <td style="width:100px"><input type="text"  class ="self-code  form-input" value="{{d.list[i].bak02?d.list[i].bak02:''}}"  /></td>
				    {{# }else { }}
				    {{# }}} -->
				    <td style="width:100px"><input type="text"  class ="self-code  form-input" value="{{d.list[i].bak02?d.list[i].bak02:''}}"  readonly="readonly" /></td>
					<td style="width:70%">
						<!-- <div class="input-group input-group-sm"> -->
				               <input type="text" value=""  class="add_self_d" placeholder="这是诊断内容标签" />
				              <!--  <div class="input-group-btn">
				                    <button type="button" class="btn btn-grey search-select-btn self-diagnose-drop" >
				                        <span class="caret"></span>
				                    </button>
				                </div> -->
				       <!--  </div> -->
					</td>
					<td>
						<button class="btn btn-main  btn-min-xs" onclick="upmove(this);"><span class="glyphicon glyphicon-circle-arrow-up"></span></button>
						<button class="btn btn-main  btn-min-xs"  onclick="downmove(this);"><span class="glyphicon glyphicon-circle-arrow-down"></span></button>
						<button class="btn btn-main  btn-min-xs"  onclick="deletmove(this);"><span class="glyphicon glyphicon-trash"></span></button>	
					</td>
				</tr>
			{{# } }}
		
		
		
		{{# } }}
		</table>
		
	<!-- 	<div class="select-container search-select selectDiv" id="self-diagnose-drop">
             <div class="input-group input-group-sm">
                 <input type="text" class="form-input  nodeleteinput" id="self-diagnose-input" />
                 <div class="input-group-btn " id="self-diagnose-btn">
                     <button class="btn btn-grey" type="button" >
                         <span class="glyphicon glyphicon-search"></span>
                     </button>
                 </div>
                 <span class="input-group-btn" onclick = "closeSelfDiagnose();">       
					<button class="btn btn-grey" type="button">        
					<span class="glyphicon glyphicon-remove"></span> 
					</button>
				</span>
             </div>
           
             <div class="main-content-table" style="top: 30px;">
                 <div class="main-table-container" >
                     <table class="table table-border table-striped table-hover" id="self-diagnose-drop-table">
                     </table>
                 </div>
             </div>
         </div> -->
	</div>
</div>
				